public async Task <ActionResult> Update(OutModels.Models.ManufactureCuntry formula)
 {
     try
     {
         ManufacturContryModel am = (ManufacturContryModel)_mapper.Map <OutModels.Models.ManufactureCuntry, ManufacturContryModel>(formula);
         return(new JsonResult(await this._repository.Update(am)));
     }
     catch (Exception ex)
     {
         return(new JsonResult(ResponseModel.ServerInternalError(data: ex)));
     }
 }
 public async Task <ActionResult> Delete(OutModels.Models.ManufactureCuntry attribute)
 {
     try
     {
         int id = attribute.M_Id;
         if (id == 0)
         {
             return(new JsonResult(ResponseModel.Error("موردی یافت نشد")));
         }
         return(new JsonResult(await this._repository.LogicalDelete(id)));
     }
     catch (Exception ex)
     {
         return(new JsonResult(ResponseModel.ServerInternalError(data: ex)));
     }
 }