예제 #1
0
 public string CreateTank(Tank tank)
 {
     return(_tankRep.CreateTank(tank));
 }
예제 #2
0
 public string CreateTank(Tank tank)
 {
     return(_repository.CreateTank(tank));
 }
예제 #3
0
 public string Post([FromBody] Tank value)
 {
     return(tankRepository.CreateTank(value));
 }