public IActionResult GetCommodities()
 {
     try
     {
         return(Success(_mapper.Map <List <CommodityViewModel> >(_commodityService.GetCommodities())));
     }
     catch (ValidationException e)
     {
         return(Error <List <CommodityViewModel> >(e));
     }
 }
 public IActionResult Get()
 {
     return(Success(_commodityService.GetCommodities()));
 }