Ejemplo n.º 1
0
        public IHttpActionResult PostRepairSheet(RepairSheetPostModel repairSheet)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            repairService.AddRepairSheet(repairSheet);

            return(Ok());
        }