aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService/Models/LoginRequest.cs
blob: e6e1207560c64227104a5776e7eb5199dec3cdf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Tango.MachineService.Models
{
    public class AccountLogin
    {
        public String Email { get; set; }
        public String Password { get; set; }
    }
}
y> /// Gets the application start path. /// </summary> /// <returns></returns> public static String GetApplicationStartPath() { return AppDomain.CurrentDomain.BaseDirectory; } /// <summary> /// Gets an image from the application resources. /// </summary> /// <param name="imagePath">The image relative path.</param> /// <returns></returns> public static BitmapSource GetImageFromResources(String imagePath) { return new BitmapImage(new Uri(String.Format("pack://application:,,,/{0};component/{1}", Assembly.GetCallingAssembly(), imagePath), UriKind.Absolute)); } } }