Example #1
0
        public async Task <IActionResult> DeleteTemplate(int id)
        {
            var result = await _templateRepository.DropAccountTemplateAsync(id);

            if (result == "Successful")
            {
                return(Ok());
            }
            return(BadRequest());
        }