public int Delete(Profile profile) { var deleteProfile = GetProfile(profile.Id); _iProfileRepository.Delete(deleteProfile); return Save(); }
public int Update(Profile profile) { _iProfileRepository.Update(profile); return Save(); }
public int Create(Profile profile) { _iProfileRepository.Insert(profile); return Save(); }