public void GetDataRowCount(GridViewCustomBindingGetDataRowCountArgs e) { e.DataRowCount = _methodService.GetMethods(new GetMethodsRequest()).Methods.Count; }
public IEnumerable <MethodViewModel> GetMethods() { var m = _methodService.GetMethods(); return(_mapper.Map <IEnumerable <MethodDTO>, IEnumerable <MethodViewModel> >(m)); }