public Result <IList <Activities> > Get(string userName) { var result = new Result <IList <Activities> >(); var lstActivities = ActivitiesService.Get(userName); result.Value = (IList <Activities>)lstActivities; result.IsSuccess = true; return(result); }