Example #1
0
 public IHttpActionResult Put([FromUri] int id, [FromBody] BedDTO Bed)
 {
     BedService.PrePutDTO(ModelState, currentClient, id, Bed);
     return(Ok());
 }
Example #2
0
 public BedDTO Post([FromBody] BedDTO Bed)
 {
     return(BedService.PrePostDTO(ModelState, currentClient, Bed));
 }