Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public JsonResult GetAll() { try { var result = Mapper.Map <IEnumerable <AssessmentViewModel> >(_repository.GetAllAssessmentswithExampapers()); return(new JsonResult(result)); } catch (Exception ex) { _logger.LogError(ex.Message); Response.StatusCode = (int)HttpStatusCode.BadRequest; return(Json(new { ex.Message })); } }