// GET: Measure
        public JsonResult GetMeasures()
        {
            var            measureRepo = new MeasureRepository();
            List <Measure> measures    = measureRepo.GetAllMeasures();

            List <MeasureViewModel> lstMeasureViewModel = new List <MeasureViewModel>();

            lstMeasureViewModel = Mapper.Map <List <Measure>, List <MeasureViewModel> >(measures);

            return(Json(lstMeasureViewModel, JsonRequestBehavior.AllowGet));
        }