public ActionResult DeleteRank(int rankId = 0)
        {
            try
            {
                _rankService.Delete(rankId);
            }
            catch (Exception)
            {
            }

            return(RedirectToAction("RankManagement"));
        }
 public IHttpActionResult Delete(int rankId)
 {
     _service.Delete(rankId);
     return(Ok());
 }