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