Example #1
0
 public void GetDataRowCount(GridViewCustomBindingGetDataRowCountArgs e)
 {
     e.DataRowCount = _methodService.GetMethods(new GetMethodsRequest()).Methods.Count;
 }
Example #2
0
        public IEnumerable <MethodViewModel> GetMethods()
        {
            var m = _methodService.GetMethods();

            return(_mapper.Map <IEnumerable <MethodDTO>, IEnumerable <MethodViewModel> >(m));
        }