public ActionResult Delete(int id) { var result = _permisisonGroupService.ArchiveGroup(id, CurrentUserName); return(Json(new { StatusCode = result?StatusCodes.Status200OK:StatusCodes.Status500InternalServerError, Message = result?"Delete successfully":"Not updated" })); }
public ActionResult Delete(int id) { return(Json(_permisisonGroupService.ArchiveGroup(id, CurrentUserName))); }