public bool EditClassify(InputClassifyDto dto) { Guid guid = getCurrentUserGuid(); var EditC = _ClassifyService.EditClassify(CurrentLanguage, dto, guid); if (EditC != null) { return((bool)EditC); } else { throw new HttpResponseException(NotFoundMessage(ClassifyResource.ClassifyController_PositionError_NotTheSame)); } }
public bool EditClassify(InputClassifyDto dto) { Guid guid = getCurrentUserGuid(); var EditC = _ClassifyService.EditClassify(CurrentLanguage, dto, guid); if (EditC != null) { return((bool)EditC); } else { throw new HttpResponseException(NotFoundMessage("موقع المنطقة لايتطابق مع موقعك")); } }
public int AddClassify(InputClassifyDto dto) {//LanguageHelper CurrentLanguage, Guid guid = getCurrentUserGuid(); var addC = _ClassifyService.AddClassify(CurrentLanguage, dto, guid); if (addC != null) { return((int)addC); } else { throw new HttpResponseException(NotFoundMessage("موقع المنطقة لايتطابق مع موقعك")); } // return _languageService.Add(dto); }
public int AddClassify(InputClassifyDto dto) {//LanguageHelper CurrentLanguage, Guid guid = getCurrentUserGuid(); var addC = _ClassifyService.AddClassify(CurrentLanguage, dto, guid); if (addC != null) { return((int)addC); } else { throw new HttpResponseException(NotFoundMessage(ClassifyResource.ClassifyController_PositionError_NotTheSame)); } // return _languageService.Add(dto); }