コード例 #1
0
 public bool Delete(Guid branchId)
 {
     try
     {
         IGarageRepository repo = new GarageRepository(this.UserId);
         return(repo.Delete(branchId));
     }
     catch (Exception ex)
     {
         throw new GarageSaleException("GarageSaleDeleteError", ex);
     }
 }
コード例 #2
0
 public ActionResult Delete(int?id, int?psi, string reg)
 {
     repo.Delete(id, psi, reg);
     return(RedirectToAction("DisplayOverview"));
 }