// CreateJob creates a new job into database
CreateJob creates a new job into database
// CreateJob creates a new job into database
func (c *CacheableWriterReader) CreateJob(job *entities.Job) error {
	err := c.parent.CreateJob(job)
	if err != nil {
		return err
	}
	jobsInMemory = append(jobsInMemory, *job)
	return nil
}
func ( c * CacheableWriterReader ) CreateJob ( job * entities . Job ) error { err := c . parent . CreateJob ( job ) if err != nil { return err } jobsInMemory = append ( jobsInMemory , * job ) return nil }
CreateJob creates a new job into database
CreateJob creates a new job into database