Ejemplo n.º 1
0
        public ActionResult Delete(int id)
        {
            var apiResult = TryExecute(() =>
            {
                _roundRepository.Delete(id);
                _unitOfWork.Commit();
                return(true);
            }, "Interview Round deleted sucessfully");

            return(Json(apiResult, JsonRequestBehavior.AllowGet));
        }
 public void Delete(int id)
 {
     roundRepository.Delete(id);
 }
Ejemplo n.º 3
0
 public ActionResult DeleteConfirmed(int id)
 {
     _roundRepository.Delete(id);
     _unitOfWork.Commit();
     return(RedirectToAction("Index"));
 }
Ejemplo n.º 4
0
 public Round Delete(int id)
 {
     return(_roundRepo.Delete(id));
 }