Example #1
0
        public async Task <IActionResult> GetById(string id)
        {
            Person person = await m_PersonBusiness.Get(id);

            return(Json(person));
        }
Example #2
0
 public IActionResult GetAll()
 {
     return(Ok(_personBusiness.Get()));
 }