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