コード例 #1
0
        public async Task <bool> DeleteSubscribeAsync(int id)
        {
            await validateSubscribe(id);

            await EcomakRepository.DeleteSubscribeAsync(id);

            if (await EcomakRepository.SaveChangesAsync())
            {
                return(true);
            }
            return(false);
        }