44 lines
		
	
	
		
			987 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			987 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using AIMSDAL;
 | |
| using AIMSModel;
 | |
| using AIMSObjectQuery;
 | |
| using System.Collections;
 | |
| using System.Collections.Generic;
 | |
| using DrawGraph;
 | |
| using System.Data;
 | |
| 
 | |
| namespace AIMSBLL
 | |
| {
 | |
|     public partial class BFactDrug
 | |
|     {
 | |
|         public static int Add(FactDrug FactDrugObj)
 | |
|         {
 | |
|             return DFactDrug.Add(FactDrugObj);
 | |
|         }
 | |
|         public static bool IsValid(int DrugId)
 | |
|         {
 | |
|             return DFactDrug.IsValid(DrugId);
 | |
|         }
 | |
| 
 | |
|         //public static void Update(Model.FactDrug FactDrugObj)
 | |
|         //{
 | |
|         //    new DAL.FactDrugDB().Update(FactDrugObj);
 | |
|         //}
 | |
| 
 | |
|         public static void Delete(int Id)
 | |
|         {
 | |
|             DFactDrug.Delete(Id);
 | |
|         }
 | |
| 
 | |
|         public static FactDrug GetModel(int Id)
 | |
|         {
 | |
|             return DFactDrug.GetModel(Id);
 | |
|         }
 | |
| 
 | |
|         public static DataTable GetDataTable(int PatientId, int DrugTypeId)
 | |
|         {
 | |
|             return DFactDrug.GetDataTable(PatientId, DrugTypeId);
 | |
|         }
 | |
|     }
 | |
| }
 |