public long AddBed(Bed Bed) { if (Bed == null) { return(0); } var addBed = _bedRepository.Add(Bed); var idBed = addBed; return(idBed); }
public void Add(Bed bed) { _bedRepository.Add(bed); }
public long AddBed(Bed Bed) { if (Bed == null) { return(0); } var addBed = _bedRepository.Add(Bed); var idBed = addBed; return(idBed); }
public void Add(Bed bed) { _bedRepository.Add(bed); }