public object RemoveByKey([FromBody] Dyna dyna) { return(base.OperationToResult(() => { string guid = dyna.GetPropertyValue("uuid").ToString(); return _bllMember.RemoveByKey(guid); })); }
public object Delete(Dyna dyna) { return(base.OperationToResult(() => { string key = dyna.GetPropertyValue("guid").ToString(); return _bllProject.RemoveByKey(key); })); }
public List <KeyValuePair <string, Project> > GetProjectByUuid(Dyna dyna) { return(_bllProject.GetProject().Where(t => t.Key.ToString().Contains(dyna.GetPropertyValue("uuid").ToString())).ToList()); }
public object GetProjectByDate(Dyna dyna) { return(base.GetPage <KeyValuePair <string, Project> >(_bllProject.GetProject().Where(t => t.Value.RunTime >= (int)dyna.GetPropertyValue("date")))); }