public ResponseMessageWrap <int> Update([FromBody] Popedom popedom) { return(new ResponseMessageWrap <int> { Body = PopedomService.Update(popedom) }); }
public ResponseMessageWrap <int> Insert([FromBody] Popedom popedom) { return(new ResponseMessageWrap <int> { Body = PopedomService.Insert(popedom) }); }
public ResponseMessageWrap <int> DeleteById(long id) { return(new ResponseMessageWrap <int> { Body = PopedomService.DeleteById(id) }); }
public PopedomController(PopedomService popedomService, IPopedomRepository popedomRepository) { PopedomService = popedomService; PopedomRepository = popedomRepository; }