// [TypeFilter(typeof(AuthorizeAction), Arguments = new object[] { "Write" })] public IActionResult IsExstis(string Name, long ID) { // Check uniqueness of Holiday date if (!_interface.IsExsits(Name, ID)) { resp.Status = Constants.ResponseStatus.Success; } else { resp.Message = Constants.ControllerMessage.Data_Exsists; } return(Json(resp)); }