public ProfileResponse(Entity.Profile profile)
 {
     if (profile != null)
     {
         ID    = profile.ID;
         Name  = profile.Name;
         DOB   = profile.DOB;
         Email = profile.Email;
     }
 }
Beispiel #2
0
 public int update(Entity.Profile entity)
 {
     return(this.repository.update(entity));
 }
Beispiel #3
0
 public Entity.Profile insert(Entity.Profile entity)
 {
     return(this.repository.insert(entity));
 }