Skip to content

Commit b46036f

Browse files
author
Said Shah
committed
Formatting
1 parent 97010c5 commit b46036f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/AndcultureCode.CSharp.Conductors/RepositoryDeleteConductor.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public RepositoryDeleteConductor(IRepository<T> repository)
6969
/// <param name="deletedById">Id of user deleting the item</param>
7070
/// <param name="soft">Boolean flag for soft-deleting the item</param>
7171
/// <returns></returns>
72-
public virtual IResult<bool> Delete(T o, long? deletedById = default(long?), bool soft = true) => _repository.Delete(o, deletedById, soft);
72+
public virtual IResult<bool> Delete(T o, long? deletedById = default(long?), bool soft = true) => _repository.Delete(o, deletedById, soft);
7373

7474
/// <summary>
7575
/// Ability to delete a list of entities by batch size.
@@ -79,14 +79,14 @@ public RepositoryDeleteConductor(IRepository<T> repository)
7979
/// <param name="batchSize">Number of items to include in a batch, defaults to 100</param>
8080
/// <param name="soft">Boolean flag for soft-deleting the items</param>
8181
/// <returns></returns>
82-
public virtual IResult<bool> Delete(IEnumerable<T> items ,long? deletedById = default(long?), long batchSize = 100, bool soft = true) => _repository.Delete(items, deletedById, batchSize, soft);
82+
public virtual IResult<bool> Delete(IEnumerable<T> items, long? deletedById = default(long?), long batchSize = 100, bool soft = true) => _repository.Delete(items, deletedById, batchSize, soft);
8383

8484
/// <summary>
8585
/// Ability to restore a soft-deleted entity using the entity itself.
8686
/// </summary>
8787
/// <param name="o">Entity to be restored</param>
8888
/// <returns></returns>
89-
public virtual IResult<bool> Restore(T o) => _repository.Restore(o);
89+
public virtual IResult<bool> Restore(T o) => _repository.Restore(o);
9090

9191
/// <summary>
9292
/// Ability to restore a soft-deleted entity using the entity id.

0 commit comments

Comments
 (0)