예제 #1
0
        public async Task <IActionResult> GetEventById(int id)
        {
            var data = await reo.GetById(id);

            return(Json(data));
        }
예제 #2
0
파일: Event.cs 프로젝트: Rajesh-vk/CoreApi
 public EventDetails GetById(string id)
 {
     return(_eventRepo.GetById(id));
 }