public ActionResult Delete(int id) { return(Ok(projectfileService.Delete(id))); }
public ActionResult Delete(Guid id, Guid projectInfoId) { _iProjectFileService.Delete(id); _unitOfWork.Commit(); return(RedirectToAction("Index", new { projectInfoId })); }