public virtual async Task DeleteAsync(ApiResourceGetByIdInputDto apiResourceGetById) { var apiResource = await ApiResourceRepository.GetAsync(apiResourceGetById.Id); await ApiResourceRepository.DeleteAsync(apiResource); }
public virtual async Task DeleteAsync(ApiResourceGetByIdInputDto apiResourceGetById) { await ApiResourceAppService.DeleteAsync(apiResourceGetById); }
public virtual async Task <ApiResourceDto> GetAsync(ApiResourceGetByIdInputDto apiResourceGetById) { var apiResource = await ApiResourceRepository.GetAsync(apiResourceGetById.Id); return(ObjectMapper.Map <ApiResource, ApiResourceDto>(apiResource)); }
public virtual async Task <ApiResourceDto> GetAsync(ApiResourceGetByIdInputDto apiResourceGetById) { return(await ApiResourceAppService.GetAsync(apiResourceGetById)); }