public IEnumerable <LocationMasterViewModel> GetAllLocations()
        {
            List <LocationMasterViewModel> locationMasterViewModel;
            List <LocationMaster>          locationMaster;

            locationMaster          = locationMasterRepositry.GetAll().ToList();
            locationMasterViewModel = _iMapper.Map <List <LocationMaster>, List <LocationMasterViewModel> >(locationMaster);
            return(locationMasterViewModel);
        }
 public List <LocationMaster> GetAllLocations()
 {
     return(locationMasterRepositry.GetAll().ToList());
 }