Пример #1
0
        public async Task <bool> UpdateJob_Sql(Job_SqlInputDto input)
        {
            var entity = await _Job_SqlManager.GetJob_SqlByIdAsync(input.Id);

            input.MapTo(entity);
            return(await _Job_SqlManager.UpdateJob_SqlAsync(entity));
        }
Пример #2
0
        public async Task <bool> CreateJob_Sql(Job_SqlInputDto input)
        {
            var entity = input.MapTo <Job_Sql>();

            return(await _Job_SqlManager.CreateJob_SqlAsync(entity));
        }