public IHttpActionResult GetById(int id) { return(HandleCallback(() => Mapper.Map <SessionViewModel>(SessionAppService.GetById(id)))); }