public async Task <IResponseOutput> AddGroupAsync(PermissionAddGroupInput input) { var entity = _mapper.Map <PermissionEntity>(input); var id = (await _permissionRepository.InsertAsync(entity)).Id; return(ResponseOutput.Ok(id > 0)); }
public async Task <IResultModel> AddGroupAsync(PermissionAddGroupInput input) { var entity = _mapper.Map <PermissionEntity>(input); var id = (await _permissionRepository.InsertAsync(entity)); return(ResultModel.Result(id > 0)); }
public async Task <IResponseOutput> AddGroupAsync(PermissionAddGroupInput input) { var entity = ObjectMapper.Map <PermissionEntity>(input); await _permissionRepo.InsertAsync(entity); return(ResponseOutput.Ok()); }
public async Task <IResponseOutput> AddGroup(PermissionAddGroupInput input) { return(await _permissionServices.AddGroupAsync(input)); }
public async Task <IResultModel> AddGroup(PermissionAddGroupInput input) { return(await _permissionServices.AddGroupAsync(input)); }