public ResponseBase Update(CompanyPutRequest request)
 {
     return(Query(() =>
     {
         return dataManager.UpdateCompany(request.Model);
     }));
 }
예제 #2
0
 public static CompanyModel ToCompanyModel(this CompanyPutRequest companyModel)
 {
     return(new CompanyModel
     {
         Id = companyModel.Id,
         Name = companyModel.Name,
         Modified = DateTime.Now
     });
 }