public ResponseAddWorkprice AddWorkprice(RequestAddWorkprice request) { var item = new WorkPrice() { ContactPrice = request.ContactPrice, ExactPrice = request.ExactPrice, Name = request.Name, Price = request.Price, Unity = request.Unity }; dbManager.AddWorkprice(item); return(new ResponseAddWorkprice()); }
public ResponseAddWorkprice AddWorkprice([FromBody] RequestAddWorkprice request) { return(ExecuteWrapper.Execute(() => { return aManager.AddWorkprice(request); })); }