public static void DeleteInstance()
 {
     if (instance != null)
     {
         instance = null;
     }
 }
 public static ErrorHandlerController GetInstance()
 {
     if (instance == null)
     {
         instance = new ErrorHandlerController();
     }
     return(instance);
 }
Example #3
0
        public string SignUp()
        {
            Response ans = null;

            try
            {
            }
            catch (Exception ex)
            {
                ErrorHandlerController.GetInstance().Error(ex.Message);
            }

            return(JsonConvert.SerializeObject(ans));
        }