public ProcedureEntryEntity ConvertToEntity(ProcedureEntryModel entity)
        {
            if (entity == null)
                return null;

            var model = new ProcedureEntryEntity(entity.Id);
            model.Comment = entity.Comment;
            model.Lenght = entity.Lenght;
            model.Time = entity.Time;
            model.Description = entity.Description;
            return model;
        }
        public async Task<ProcedureEntryModel> ConvertToModel(ProcedureEntryEntity entity)
        {
            if (entity == null)
                return null;

            var model = new ProcedureEntryModel(entity.Id);
            model.Comment = entity.Comment;
            model.Lenght = entity.Lenght;
            model.Time = entity.Time;
            model.Description = entity.Description;

            return model;
        }