/// <summary>
        ///     Adds new course to database
        /// </summary>
        /// <param name="service">Dtoobject course to add</param>
        /// <returns>Is Success</returns>
        public async Task <bool> AddService(DtoService service)
        {
            try
            {
                using (var data = Context)
                {
                    var databaseItem = ServiceConverter.DtoToDataAccess(service);
                    data.Service.Add(databaseItem);
                    foreach (var d in service.Dates)
                    {
                        data.ServiceDate.Add(new ServiceDate {
                            serviceID = service.Id, date = d
                        });
                    }
                    await data.SaveChangesAsync();

                    return(true);
                }
            }
            catch (Exception)
            {
                return(false);
            }
        }