public async Task <BasexResponse <Material> > DeleteByIdAsync(int materialId)
        {
            try
            {
                var material = await _materialDal.GetAsync(materialId);

                _materialDal.Delete(material);
                var announcement = await _announcementDal.GetAsync(material.AnnouncementId);

                _announcementDal.Delete(announcement);
                await _unitOfWork.CompleteAsync();

                return(new BasexResponse <Material>(material));
            }
            catch (Exception ex)
            {
                return(new BasexResponse <Material>(ex.Message));
            }
        }