public int DeleteMed(string getMedName,string getMedCategory) { using ( HealthManagementDataAccess healthManagementDataAccess = new HealthManagementDataAccess() ) { try { return healthManagementDataAccess.DeleteMed(getMedName,getMedCategory); } catch(Exception e) { Util.WriteLog(e.Message,Util.EXCEPTION_LOG_TITLE); return 0; } } }