/// <summary> /// Get Plot By VendorId /// </summary> /// <param name="id"></param> /// <returns></returns> public IEnumerable <PlotViewModel> GetByVendorId(int id) { return(_plotService.GetPlotBy(id).Select(_mapper.Map <Plot, PlotViewModel>)); }