Example #1
0
        public IHttpActionResult Get(string pageIndex, string pageSize, string sortColumn, string sortOrder)
        {
            var result   = _service.GetBedCollection(Int32.Parse(pageIndex), Int32.Parse(pageSize), sortColumn, sortOrder);
            var response = _mapper.MapBedCollectionToBasicBedCollection(result);

            return(Ok(response));
        }