public async Task <IResponse> UpdateAsync(PersonnelNotificationModel model) { return(await _dal.UpdateAsync(_mapper.Map <PersonnelNotification>(model))); }
public async Task <IDataResponse <int> > InsertAsync(PersonnelNotificationModel model) { return(await _dal.InsertAsync(_mapper.Map <PersonnelNotification>(model))); }