Example #1
0
        public async Task <IActionResult> Delete(Guid id)
        {
            try
            {
                if (id != null)
                {
                    return(BadRequest(id));
                }

                await _employerService.RemoveEmployer(id);
            }
            catch (Exception ex)
            {
                return(BadRequest(ex));
            }

            return(Ok());
        }