Exemplo n.º 1
0
        public string Delete(int Id)
        {
            try
            {
                _app.Delete(Id);
            }
            catch (Exception e)
            {
                BjuiResponse.statusCode = "300";
                BjuiResponse.message    = e.Message;
            }

            return(JsonHelper.Instance.Serialize(BjuiResponse));
        }
Exemplo n.º 2
0
        public string Delete(Guid[] ids)
        {
            try
            {
                _app.Delete(ids);
            }
            catch (Exception e)
            {
                Result.Status  = false;
                Result.Message = e.Message;
            }

            return(JsonHelper.Instance.Serialize(Result));
        }