public async Task AddEmployeeRoleAsync(Data.AppTrackEntities.userrole userrole) { await _businessLayer.AddEmployeeRoleAsync(userrole); }
public async Task <Data.AppTrackEntities.userrole> GetUserRoleByIdAsync(Data.AppTrackEntities.userrole userrole) { int id = userrole.UserId; return(await _businessLayer.GetUserRoleByIdAsync(id)); }
public async Task UpdateUserRoleAsync(Data.AppTrackEntities.userrole userrole) { await _businessLayer.UpdateUserRoleAsync(userrole); }
public virtual Task UpdateUserRoleAsync(Data.AppTrackEntities.userrole userrole) { return(_userRoleRepository.UpdateAsync(userrole)); }