public ActionResult DeleteUser(UserMasterDTO user) { //UserMasterDTO user = null; if (user.UserMasterId != 0) { //user = new UserMasterDTO(); //user.UserMasterId = id; StatusDTO <UserMasterDTO> status = _userSvc.Delete(user); if (status != null && status.IsSuccess) { } } return(Json(new { message = "success", status = "true" }, JsonRequestBehavior.AllowGet)); }