public string ThongTinBenhAn(string id) { BenhAn ba = BenhAnProcessor.ThongTinBenhAn(id); if (ba.Maba == null) { return("NULL"); } return(JsonConvert.SerializeObject(ba)); }
public string XoaBenhAn(string id) { return(BenhAnProcessor.XoaBenhAn(id)); }
public string SuaBenhAn([FromBody] BenhAn ba) { return(BenhAnProcessor.SuaBenhAn(ba)); }
public string DanhMucBenhAn() { return(JsonConvert.SerializeObject(BenhAnProcessor.DanhMucBenhAn())); }
public string ThemBenhAn([FromBody] BenhAn ba) { return(BenhAnProcessor.ThemBenhAn(ba)); }