public bool Update(int WardRoomBedId, int SpecialityId, bool IsMainSpeciality, int SpecialityOrder, int Original_BedSpecialityId) { BedSpecialityDAC bedspecialityComponent = new BedSpecialityDAC(); return(bedspecialityComponent.UpdateBedSpeciality(WardRoomBedId, SpecialityId, IsMainSpeciality, SpecialityOrder, Original_BedSpecialityId)); }
public bool Update(BedSpeciality bedspeciality, int old_bedSpecialityId) { BedSpecialityDAC bedspecialityComponent = new BedSpecialityDAC(); return(bedspecialityComponent.UpdateBedSpeciality(bedspeciality.WardRoomBedId, bedspeciality.SpecialityId, bedspeciality.IsMainSpeciality, bedspeciality.SpecialityOrder, old_bedSpecialityId)); }