public object GetUserList()
 {
     try
     {
         ShowGraphBL obj      = new ShowGraphBL();
         var         userlist = obj.GetUSersList();
         return(userlist);
     }
     catch (Exception ex)
     {
         return(new Error()
         {
             IsError = true, Message = ex.Message
         });
     }
 }
 public object ShowGraph()
 {
     try
     {
         ShowGraphBL obj   = new ShowGraphBL();
         var         graph = obj.ShowGraphFunction();
         return(graph);
     }
     catch (Exception ex)
     {
         return(new Error()
         {
             IsError = true, Message = ex.Message
         });
     }
 }