public object RemoveByKey([FromBody] Dyna dyna)
 {
     return(base.OperationToResult(() =>
     {
         string guid = dyna.GetPropertyValue("uuid").ToString();
         return _bllMember.RemoveByKey(guid);
     }));
 }
Example #2
0
        public object Delete(Dyna dyna)
        {
            return(base.OperationToResult(() =>
            {
                string key = dyna.GetPropertyValue("guid").ToString();

                return _bllProject.RemoveByKey(key);
            }));
        }
Example #3
0
 public List <KeyValuePair <string, Project> > GetProjectByUuid(Dyna dyna)
 {
     return(_bllProject.GetProject().Where(t => t.Key.ToString().Contains(dyna.GetPropertyValue("uuid").ToString())).ToList());
 }
Example #4
0
 public object GetProjectByDate(Dyna dyna)
 {
     return(base.GetPage <KeyValuePair <string, Project> >(_bllProject.GetProject().Where(t => t.Value.RunTime >= (int)dyna.GetPropertyValue("date"))));
 }