public async Task <IWrappedResponse <LoadingLocation> > Patch(int id, UpdateLoadingLocationRequest request) { #region security // TODO add security #endregion var response = _olmaLoadingLocationRepo.Update <Olma.LoadingLocation, UpdateLoadingLocationRequest, LoadingLocation> (id, request); return(response); }
public Task <ActionResult <LoadingLocation> > Patch(int id, [FromBody] UpdateLoadingLocationRequest request) { return(this._loadingLocationsService.Patch(id, request).Convert(this)); }