Exemplo n.º 1
0
 public static IList <Measure> GetMeasures(MeasureTypes type)
 {
     return(new List <Measure>(MeasureRepository.GetMeasures(type)));
 }
Exemplo n.º 2
0
 public static IList <Measure> GetMeasures()
 {
     return(new List <Measure>(MeasureRepository.GetMeasures()));
 }
        // GET: Measure
        public JsonResult GetMeasures()
        {
            var measure = new MeasureRepository();

            return(Json(measure.GetMeasures(), JsonRequestBehavior.AllowGet));
        }