예제 #1
0
 // POST: api/State
 public int Post([FromBody] StateModel state)
 {
     return(_stateServices.Create(state));
 }
예제 #2
0
 public void Create(StateModel stateModel)
 {
     _service.Create(stateModel);
 }