// GET: ApartmentsController public ActionResult Index() { return(View(_apartmentsService.Get())); }
public ActionResult <List <Apartments> > Get() => _apartmentsService.Get();
// GET: ApartmentsController public ActionResult Index() { return(View(_apartmentsService.Get())); }
public ActionResult <List <Apartments> > Get() => _apartmentsService.Get();