public string Delete(int Id) { try { _app.Delete(Id); } catch (Exception e) { BjuiResponse.statusCode = "300"; BjuiResponse.message = e.Message; } return(JsonHelper.Instance.Serialize(BjuiResponse)); }
public string Delete(Guid[] ids) { try { _app.Delete(ids); } catch (Exception e) { Result.Status = false; Result.Message = e.Message; } return(JsonHelper.Instance.Serialize(Result)); }