public async Task <ActionResult> Get(int id) { Seminar seminar = await SeminarService.GetByIdAsync(id); return(ResultData(seminar.Mapper <SeminarDto>())); }
public ActionResult Get(int id) { Seminar seminar = SeminarService.GetById(id); return(ResultData(seminar.Mapper <SeminarOutputDto>())); }