public async Task <IWrappedResponse> UpdateDivisionCustomerDocumentSettings(int id,
                                                                                    CustomerDivisionDocumentSettingsUpdateRequest request)
        {
            #region security

            // TODO implement security for updating customer division document settings via calling authorize manually

            #endregion

            var result = _olmaCustomerDivisionDocumentSettingRepo
                         .Update <Olma.CustomerDivisionDocumentSetting, CustomerDivisionDocumentSettingsUpdateRequest, CustomerDivisionDocumentSettings>(id, request);

            return(result);
        }
Beispiel #2
0
 public Task <ActionResult <CustomerDivisionDocumentSettings> > PatchDivisionCustomerDocumentSettings(int id, [FromBody] CustomerDivisionDocumentSettingsUpdateRequest request)
 {
     return(this._documentSettingsService.UpdateDivisionCustomerDocumentSettings(id, request).Convert <CustomerDivisionDocumentSettings>(this));
 }