public Result <int> GetCount(int amcId) { var result = new Result <int>(); SchemeService SchemeService = new SchemeService(); result.Value = SchemeService.Get(amcId); result.IsSuccess = true; return(result); }
public Result <IList <Scheme> > GetAll() { var result = new Result <IList <Scheme> >(); SchemeService SchemeService = new SchemeService(); var lstClient = SchemeService.Get(); result.Value = (IList <Scheme>)lstClient; result.IsSuccess = true; return(result); }