예제 #1
0
        public static ResponseObject GetAll()
        {
            ResponseObject responseObj = new ResponseObject();

            try
            {
                responseObj.Data = Convert.ToString(Utills.ReadStream(Config.JsonRepoDir));
            }
            catch (Exception ex)
            {
                Log.WriteEx(ex);
                responseObj.ErrObj = new ErrorObject()
                {
                    IsError    = true,
                    ErrMessage = "Error Occured!"
                };
            }

            return(responseObj);
        }