Beispiel #1
0
 public static Models.Client ConvertToDal(Business.Client model)
 {
     return(new Models.Client
     {
         LastName = model.LastName,
         FirstName = model.FirstName,
         Id = model.Id
     });
 }
Beispiel #2
0
 public static Shared.Client ConvertToEndPoint(Business.Client model)
 {
     return(new Shared.Client
     {
         LastName = model.LastName,
         FirstName = model.FirstName,
         Id = model.Id
     });
 }
Beispiel #3
0
 public ClientController()
 {
     _client = new Business.Client();
 }