public ActionResult AddLaborToAccountType(int accountTypeId, int accountTypeServiceId, int laborTypeId) { AccountTypeServices.AddLaborToAccountType(accountTypeId, accountTypeServiceId, laborTypeId); InvoiceServices.ClearAvailableTypeCache(); return(Json("ok")); }
public ActionResult RemoveLaborFromAccountType(int accountTypeId, int accountTypeServiceId, int accountTypeLaborId) { AccountTypeServices.RemoveLaborFromAccountType(accountTypeId, accountTypeServiceId, accountTypeLaborId); InvoiceServices.ClearAvailableTypeCache(); return(Json("ok")); }
public ActionResult UpdateLaborType(int id, string description) { AccountTypeServices.UpdateLaborType(id, description); InvoiceServices.ClearAvailableTypeCache(); return(Json("ok")); }